package sjtu.ist.warehouse4ws.model;

/**
 * CustColumn entity. @author MyEclipse Persistence Tools
 */

public class CustColumn extends Column implements java.io.Serializable {

	// Fields

	private Integer id;
	private String tablename;
	private String columnname;
	private Integer type;

	// Constructors

	/** default constructor */
	public CustColumn() {
	}

	/** full constructor */
	public CustColumn(String tablename, String columnname, Integer type) {
		this.tablename = tablename;
		this.columnname = columnname;
		this.type = type;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTablename() {
		return this.tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	public String getColumnname() {
		return this.columnname;
	}

	public void setColumnname(String columnname) {
		this.columnname = columnname;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}